package com.shensi.api.admin.client.fleet;

import com.shensi.api.admin.client.fallback.fleet.FleetCardRechargeRecordClientFallBack;
import com.shensi.api.admin.client.fallback.monitor.SysLogininforClientFallBack;
import com.shensi.api.admin.domian.device.dto.FleetCardRechargeRecordQueryForm;
import com.shensi.common.core.constant.CloudConstant;
import com.shensi.common.core.page.TableDataInfo;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;


/**
 * @author mao
 */
@FeignClient(
        value = CloudConstant.ADMIN_SERVER,
        fallbackFactory = FleetCardRechargeRecordClientFallBack.class)
@Component
public interface FleetCardReChargeRecordClient {

    /**
     * 查询车队卡充值记录列表
     */
    @GetMapping("/fleetCard/recharge/page")
    public TableDataInfo page(@SpringQueryMap FleetCardRechargeRecordQueryForm fleetCardRechargeRecordQueryForm);

}
